package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Repository;

import java.util.List;

public interface RepositoryDao {
    void add(Repository repository);

    Page<Repository> selectByCondition(String queryString);

    void deleteById(Integer id);

    Repository findById(Integer id);

    void edit(Repository repository);

    List<Repository> findAll();

    void excelAdd(Repository repository);
}
